package aau.client.geo;

public class Point {
    public double x;
    public double y;

    public Point(double x, double y) {
        this.x = x;
        this.y = y;
    }

    public Point add(Vector v) {
        double nx = this.x + v.dx();
        double ny = this.y + v.dy();
        return new Point(nx, ny);
    }
}
